package com.wjr.utils;

import javax.swing.*;
import java.awt.*;

public class GetImageUtils {
    public static Image getImage(String image_path){
        ImageIcon imageIcon = new ImageIcon(GetImageUtils.class.getClassLoader().getResource(image_path));
        return imageIcon.getImage();
    }
}
